﻿using Basic.WxApiRemoteModel;
using SqlSugar;

namespace Basic.WxModel.DB
{
    [SugarTable("WxMer")]
    public class DBWxMer
    {
        [SugarColumn(IsPrimaryKey = true)]
        public long Id
        {
            get;
            set;
        }
        /// <summary>
        /// 微信AppId
        /// </summary>
        public string AppId
        {
            get;
            set;
        }
        /// <summary>
        /// 微信名
        /// </summary>
        public string WxName
        {
            get;
            set;
        }
        /// <summary>
        /// 公众号认证类型
        /// </summary>
        public WxAuthType AuthType
        {
            get;
            set;
        }
        /// <summary>
        /// 公众号类型
        /// </summary>
        public WxMerType MerType
        {
            get;
            set;
        }
        /// <summary>
        /// 业务状态
        /// </summary>
        public BusinessState BusinessState
        {
            get;
            set;
        }
        /// <summary>
        /// 账号状态
        /// </summary>
        public WxAccountStatus AccountStatus
        {
            get;
            set;
        }
        /// <summary>
        /// 注册方式
        /// </summary>
        public string RegisterType
        {
            get;
            set;
        }
        /// <summary>
        /// 公众号所设置的微信号，可能为空
        /// </summary>
        public string WeChatId
        {
            get;
            set;
        }
        /// <summary>
        /// 原始 ID
        /// </summary>
        public string OriginalId
        {
            get;
            set;
        }
        /// <summary>
        /// 二维码图片的 URL
        /// </summary>
        public string MerQrUri
        {
            get;
            set;
        }
        /// <summary>
        /// 头像
        /// </summary>
        public string HeadUri
        {
            get;
            set;
        }
        /// <summary>
        /// 主体名称
        /// </summary>
        public string PrincipalName
        {
            get;
            set;
        }

        /// <summary>
        /// 小程序帐号介绍
        /// </summary>
        public string Show
        {
            get;
            set;
        }
        /// <summary>
        /// 是否为小程序
        /// </summary>
        public bool IsMini
        {
            get;
            set;
        }

        /// <summary>
        /// 主体
        /// </summary>
        public DateTime AddTime { get; set; }
    }
}
